//
//  RYYuDeatilCell.swift
//  SheYangBigData
//
//  Created by 宋海胜 on 2021/1/13.
//  Copyright © 2021 叁拾叁. All rights reserved.
//




import UIKit

class RYYuDeatilCell: SYBaseCell {

    
    let pic: UIImageView = {
        let v: UIImageView = UIImageView()
        
        return v
    }()
    

    public func configureView(_ model: RYProductDetailPicModel) {
        pic.kf.setImage(with: URL(string: model.url ?? ""))
    }
    
    override func initViews() {
        
        
        addSubview(pic)
        
        pic.snp.makeConstraints { (make) in
            make.top.equalToSuperview().offset(10.0.autoWidth())
            make.left.equalToSuperview().offset(autoWidth(15.0))
            make.right.equalToSuperview().offset(autoWidth(-15.0))
            make.height.equalTo(195.0.autoWidth())
            make.bottom.equalToSuperview()
        }
    }
}


